home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / graphic / pcx_c.zip / PROTO.H < prev    next >
Text File  |  1988-04-17  |  3KB  |  60 lines

  1. int cga_peekb(unsigned char far *p);
  2. int cga_pokeb(unsigned char far *p,unsigned char b);
  3. int cga_movmem(unsigned char far *s,unsigned char far *d,int n);
  4. int cga_init(void);
  5. int cga_palette(int bg,int fg);
  6. int cga_write_row(int row,unsigned char far *prow,register unsigned int nbytes);
  7. int cga_clear(void);
  8. int cga_clr_point(unsigned int x,unsigned int y);
  9. int cga_xor_point(unsigned int x,unsigned int y,unsigned int color);
  10. int cga_get_point(unsigned int x,unsigned int y);
  11. int cga_set_point(unsigned int x,unsigned int y,unsigned int color);
  12. int cga_mode(int m);
  13. int ega_init(void);
  14. int ega_select_plane(int plane);
  15. int ega_write_row(int row,unsigned char *prow,register unsigned int nbytes);
  16. int ega_clear(void);
  17. int ega_set_palette(unsigned char reg,unsigned char red,unsigned char green,unsigned char blue);
  18. int ega_clr_point(unsigned int x,unsigned int y);
  19. int ega_xor_point(unsigned int x,unsigned int y,unsigned int color);
  20. int ega_get_point(unsigned int x,unsigned int y);
  21. int ega_set_point(unsigned int x,unsigned int y,unsigned int color);
  22. int ega_mode(int mode);
  23. int herc_set_page(int page);
  24. int herc_clear(void);
  25. int herc_write_row(unsigned int row,char *prow,unsigned int nbytes);
  26. int herc_init(void);
  27. int herc_set_point(unsigned int x,unsigned int y);
  28. int herc_clr_point(unsigned int x,unsigned int y);
  29. int herc_get_point(unsigned int x,unsigned int y);
  30. int herc_xor_point(unsigned int x,unsigned int y);
  31. int herc_mode(int mode);
  32. void pcx_load_palette(PCXPIC *pic);
  33. void pcx_showpic(PCXPIC *pic,int hoffs,int voffs,int load_palette_flg);
  34. int vgr_get_board(void);
  35. int vgr_mode(unsigned char mode);
  36. void vgr_line(int x1,int y1,int x2,int y2,int color);
  37. void vgr_rectangle(int x1,int y1,int x2,int y2,int color);
  38. void vgr_point(int x2,int y2,int color);
  39. void vgr_fill(int x,int y,int color);
  40. int pcx_init(void);
  41. int pcx_select_plane(int plane);
  42. int pcx_write_row(int row,char *prow,int nbytes);
  43. int pcx_clear(void);
  44. int pcx_mode(int m);
  45. int pcx_xor_point(int x,int y,int color);
  46. int pcx_clr_point(int x,int y);
  47. int pcx_set_point(int x,int y,int color);
  48. int pcx_get_point(int x,int y);
  49. int pcx_set_palette(unsigned char reg,unsigned char red,unsigned char green,unsigned char blue);
  50. PCXPIC *pcx_init_pic(unsigned int hres,unsigned int vres,unsigned int nplanes);
  51. int pcx_free_pic(PCXPIC *pic);
  52. void map_not(register unsigned int *map,register unsigned int len);
  53. void pcx_invert_pic(PCXPIC *pic);
  54. int allocf(char *p);
  55. int pcx_getc(unsigned int *c,unsigned int *n,FILE *fp,unsigned int maxn);
  56. int pcx_xputc(int c,FILE *fp);
  57. int pcx_putc(unsigned int c,unsigned int n,FILE *fp);
  58. int pcx_read_pic(PCXPIC *pic,FILE *fp);
  59. int pcx_write_pic(PCXPIC *pic,FILE *fp);
  60.